home *** CD-ROM | disk | FTP | other *** search
/ SOHO - Exploring the Sun - 2003 Update / SOHO - Exploring the Sun - 2003 Update.iso / pc / data / macstart.dcr / 00049.ls < prev    next >
Encoding:
Text File  |  2003-02-25  |  621 b   |  19 lines

  1. on startMovie
  2.   set rct to the rect of the stage
  3.   set stagewidth to getAt(rct, 3) - getAt(rct, 1)
  4.   set stageheight to getAt(rct, 4) - getAt(rct, 2)
  5.   set screenwidth to (getAt(rct, 1) * 2) + stagewidth
  6.   set screenheight to (getAt(rct, 2) * 2) + stageheight
  7.   if (screenwidth < 800) or (screenheight < 600) then
  8.     alert("Warning: The program should be ran at least in 800*600 resolution, you might encounter problems using the Hotshots-section.")
  9.   end if
  10.   set the alertHook to script "qtTest"
  11. end
  12.  
  13. on stopMovie
  14.   global phase
  15.   if (phase <> 1) and (the machineType = 256) then
  16.     open("releaser.exe")
  17.   end if
  18. end
  19.